package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.Invoice;
import cn.itcast.domain.cargo.InvoiceExample;

import com.github.pagehelper.PageInfo;

import java.util.List;

public interface InvoiceService {
    Invoice findById(String id);

    void save(Invoice export);

    void update(Invoice export);

    void delete(String id);

    PageInfo findAll(int page, int size, InvoiceExample example);

    List<Invoice> findAll(InvoiceExample exportExample);

}
